package com.longchat.service.inter.award;

import java.util.List;

import com.longchat.domain.award.Activity;
import com.longchat.domain.award.Award;
import com.longchat.domain.award.AwardLog;
import com.longchat.dto.award.AwardLogInfo;
import com.longchat.dto.award.AwardResult;
import com.longchat.dto.comm.ResultInfo;
import com.longchat.utils.vo.ResultWrapper;


public interface IAwardService {
	
	ResultWrapper<AwardResult> award(Integer activityId,String openid, String nickName);
	
	ResultWrapper<List<Award>> findAllAward(Integer activityId);
	
	Award findAwardById(int id);
	
	ResultWrapper<List<AwardLogInfo>> findAwardLog(String openid);

	ResultWrapper<String> updateAward(Award award);
	
	ResultWrapper<String> addAward(Award award);
	
	ResultWrapper<String> deleteAward(int id);
	
	List<AwardLog> findAllAwardLogs();
	
	Activity findActivity(Integer activityId);
	
	List<Activity> findAllActivity();

	ResultInfo updateActivity(Activity activity);
	

}
